<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of FormStatistiquesService
 *
 * @author ingeni
 */
class FormStatistiquesService {
    //put your code here
    public function display(ContextExecution $p_contexte) {
        $numeroCompte = $p_contexte->m_dataRequest->getData('numeroCompte');
        
        $listReleves = new ListDynamicObject();
        $listReleves->name = 'ListeReleves';
        $listReleves->request("select distinct noreleve from operation where nocompte='$numeroCompte' order by noreleve DESC");
        $p_contexte->addDataBlockRow($listReleves);
    }
}

?>
